/**
 * @Title: warningApprovalResult_ctrl.js
 * @Description: TODO
 * Copyright: Copyright (c) 2014
 * Company:中国平安
 *
 * @Project mhis-fwa
 * @author EX-LILIUZHU001
 * @date 2014年11月14日 上午9:22:50
 * @version V1.0
 */
;
(function(){
	'use strict';	
	var app = angular.module('fwa.mainApp');
	app.controller('WarningApprovalResultCtrl', ['$scope','$stateParams','$modal','BaseURL','Modal','WarningScreenService',
	                                function($scope,$stateParams,$modal,baseUrl,Modal,WarningScreenService){
		$scope.warningScreenService = WarningScreenService;
		var warnNo=$stateParams.warnNo;
		WarningScreenService.getWarnApprovalResult({warnNo:warnNo})
		.success(function(res){
				$scope.examineCodedesc=res.examineCodedesc;
                $scope.sumamount=res.sumamount;
                $scope.auditOpinion=res.auditOpinion;
        		$scope.remark=res.remark;
        		$scope.codedesc=res.codedesc;
				$scope.sumamount=res.sumamount;
				$scope.point=res.point;
	     });		
	}])	
})();